package com.eu.ebpm.engine.pvm;

import java.util.Map;

import javax.annotation.Resource;

/**
 * 流程虚拟机容器
 * @author 王晓华
 */
//@Component
public class PvmContainer {

	/**
	 * 虚拟机服务
	 */
	@Resource
	private Map<EngineServiceType, EngineService> pvmServices;

	public Map<EngineServiceType, EngineService> getPvmServices() {
		return pvmServices;
	}
	
	public EngineService getPvmService(EngineServiceType key) {
		return pvmServices.get(key);
	}
	
}
